//
//  FKCategory.m
//  GC_OC
//
//  Created by Macbook Pro on 2023/5/12.
//

#import "FKCategory.h"

@implementation FKCategory

+ (NSDictionary *)mj_objectClassInArray
{
    return @{@"children" : [FKCategory class], @"grandson": [FKCategory class]};
}

- (void)mj_didConvertToObjectWithKeyValues:(NSDictionary *)keyValues
{
    if (_grandson.count > 0) {
        _children = _grandson;
    }
}

@end
